Optimal. Leaf size=155 \[ -\frac {x \cot \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b}+\frac {\sqrt {\frac {\pi }{2}} \cos (a) \csc \left (a+b x^2\right ) C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}}-\frac {\sqrt {\frac {\pi }{2}} \csc \left (a+b x^2\right ) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 155, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6852, 3466,
3435, 3433, 3432} \begin {gather*} \frac {\sqrt {\frac {\pi }{2}} \cos (a) \text {FresnelC}\left (\sqrt {\frac {2}{\pi }} \sqrt {b} x\right ) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}}-\frac {\sqrt {\frac {\pi }{2}} \sin (a) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}}-\frac {x \cot \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3432
Rule 3433
Rule 3435
Rule 3466
Rule 6852
Rubi steps
\begin {align*} \int x^2 \sqrt [3]{c \sin ^3\left (a+b x^2\right )} \, dx &=\left (\csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int x^2 \sin \left (a+b x^2\right ) \, dx\\ &=-\frac {x \cot \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b}+\frac {\left (\csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \cos \left (a+b x^2\right ) \, dx}{2 b}\\ &=-\frac {x \cot \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b}+\frac {\left (\cos (a) \csc \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \cos \left (b x^2\right ) \, dx}{2 b}-\frac {\left (\csc \left (a+b x^2\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}\right ) \int \sin \left (b x^2\right ) \, dx}{2 b}\\ &=-\frac {x \cot \left (a+b x^2\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b}+\frac {\sqrt {\frac {\pi }{2}} \cos (a) \csc \left (a+b x^2\right ) C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}}-\frac {\sqrt {\frac {\pi }{2}} \csc \left (a+b x^2\right ) S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{2 b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.18, size = 105, normalized size = 0.68 \begin {gather*} -\frac {\csc \left (a+b x^2\right ) \left (2 \sqrt {b} x \cos \left (a+b x^2\right )-\sqrt {2 \pi } \cos (a) C\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right )+\sqrt {2 \pi } S\left (\sqrt {b} \sqrt {\frac {2}{\pi }} x\right ) \sin (a)\right ) \sqrt [3]{c \sin ^3\left (a+b x^2\right )}}{4 b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.17, size = 240, normalized size = 1.55
method | result | size |
risch | \(\frac {\left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {1}{3}} \left (-\frac {i x \,{\mathrm e}^{2 i \left (b \,x^{2}+a \right )}}{2 b}+\frac {i \sqrt {\pi }\, \erf \left (\sqrt {-i b}\, x \right ) {\mathrm e}^{i \left (b \,x^{2}+2 a \right )}}{4 b \sqrt {-i b}}\right )}{2 \,{\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-2}-\frac {i x \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {1}{3}}}{4 b \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )}+\frac {i \left (i c \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b \,x^{2}+a \right )}\right )^{\frac {1}{3}} {\mathrm e}^{i x^{2} b} \sqrt {\pi }\, \erf \left (\sqrt {i b}\, x \right )}{8 \left ({\mathrm e}^{2 i \left (b \,x^{2}+a \right )}-1\right ) b \sqrt {i b}}\) | \(240\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] Result contains complex when optimal does not.
time = 0.56, size = 73, normalized size = 0.47 \begin {gather*} \frac {8 \, b^{2} c^{\frac {1}{3}} x \cos \left (b x^{2} + a\right ) + \sqrt {2} \sqrt {\pi } {\left ({\left (\left (i - 1\right ) \, \cos \left (a\right ) + \left (i + 1\right ) \, \sin \left (a\right )\right )} \operatorname {erf}\left (\sqrt {i \, b} x\right ) + {\left (-\left (i + 1\right ) \, \cos \left (a\right ) - \left (i - 1\right ) \, \sin \left (a\right )\right )} \operatorname {erf}\left (\sqrt {-i \, b} x\right )\right )} b^{\frac {3}{2}} c^{\frac {1}{3}}}{32 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 156, normalized size = 1.01 \begin {gather*} -\frac {4^{\frac {1}{3}} {\left (4^{\frac {2}{3}} \sqrt {2} \pi \sqrt {\frac {b}{\pi }} \cos \left (a\right ) \operatorname {C}\left (\sqrt {2} x \sqrt {\frac {b}{\pi }}\right ) \sin \left (b x^{2} + a\right ) - 4^{\frac {2}{3}} \sqrt {2} \pi \sqrt {\frac {b}{\pi }} \operatorname {S}\left (\sqrt {2} x \sqrt {\frac {b}{\pi }}\right ) \sin \left (b x^{2} + a\right ) \sin \left (a\right ) - 2 \cdot 4^{\frac {2}{3}} b x \cos \left (b x^{2} + a\right ) \sin \left (b x^{2} + a\right )\right )} \left (-{\left (c \cos \left (b x^{2} + a\right )^{2} - c\right )} \sin \left (b x^{2} + a\right )\right )^{\frac {1}{3}}}{16 \, {\left (b^{2} \cos \left (b x^{2} + a\right )^{2} - b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{2} \sqrt [3]{c \sin ^{3}{\left (a + b x^{2} \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^2\,{\left (c\,{\sin \left (b\,x^2+a\right )}^3\right )}^{1/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________